//package cn.uexpo.lhz.common;
//
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
//@Component
//public class TopicReceive {
//
//    @RabbitListener(queues = "topic.queue.email")
//    public void receiveTopic1(String msg) {
//        System.out.println("topic.queue.1 邮件队列接收到数据：" + msg);
//    }
//
//    @RabbitListener(queues = "topic.queue.sms")
//    public void receiveTopic2(String msg) {
//        System.out.println("topic.queue.2 短信队列接收到数据：" + msg);
//    }
//
//
//    @RabbitListener(queues = "topic.queue.dingDing")
//    public void receiveTopic3(String msg) {
//        System.out.println("topic.queue.3 钉钉接收到数据：" + msg);
//    }
//
//
//    @RabbitListener(queues = "topic.queue.staffMsg")
//    public void receiveTopic4(String msg) {
//        System.out.println("topic.queue.4 钉钉接收到数据：" + msg);
//    }
//}
